package com.jsh.erp.ding;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;



@Component
@ConfigurationProperties(prefix = "ding")
public class DingConfiguration {

    @Value("${ding.token}")
    private String token;
    @Value("${ding.encodingAesKey}")
    private String encodingAesKey;
    @Value("${ding.corpId}")
    private String corpId;
    @Value("${ding.appKey}")
    private String appKey;
    @Value("${ding.appSecret}")
    private String appSecret;
    @Value("${ding.procCodeLingLiao}")
    private String procCodeLingLiao;
    @Value("${ding.procCodePurchaseOrder}")
    private String procCodePurchaseOrder;
    @Value("${ding.procCodePurchaseApply}")
    private String procCodePurchaseApply;

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getProcCodeLingLiao() {
        return procCodeLingLiao;
    }

    public void setProcCodeLingLiao(String procCodeLingLiao) {
        this.procCodeLingLiao = procCodeLingLiao;
    }

    public String getProcCodePurchaseOrder() {
        return procCodePurchaseOrder;
    }

    public void setProcCodePurchaseOrder(String procCodePurchaseOrder) {
        this.procCodePurchaseOrder = procCodePurchaseOrder;
    }

    public String getProcCodePurchaseApply() {
        return procCodePurchaseApply;
    }

    public void setProcCodePurchaseApply(String procCodePurchaseApply) {
        this.procCodePurchaseApply = procCodePurchaseApply;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEncodingAesKey() {
        return encodingAesKey;
    }

    public void setEncodingAesKey(String encodingAesKey) {
        this.encodingAesKey = encodingAesKey;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
}
